package com.shujia.dao;


import com.shujia.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;



@Mapper
public interface UserDao {
    //根据用户名和密码查找
    @Select("select * from user where username=#{username} and password=#{password}")
    public User findByNameAndPassword(String username,String password);
}
